package org.peacewing.swingui;

public class TemplatesResourceCopyer {
	public String dirFrom;
	public String dirTo;

	// 下载并解压拷贝的文件
	public void downloadUnpackTemplates(String projectFolderPath) throws Exception{
		 Resource res = new Resource();
		 res.downloadRes("/templates/templates.zip", projectFolderPath+"WebContent/templates.zip");
		 ZipCompressor compressor = new ZipCompressor();
		 compressor.unZipFilesAndDeleteOrginal(projectFolderPath+"WebContent/templates.zip", projectFolderPath+"/WebContent/");
	}
}